'''------------------------------------------------------------------------------------------------
 $ @Author: Ysq
 $ @Date: 2021-12-23 18:30:45
 $ @LastEditTime: 2021-12-23 18:33:35
 $ @LastEditors: Please set LastEditors
 $ @Description: 判断文件夹是否存在，若不存在则创建它
 $ @FilePath: \YSQTrackerEvaluationToolKit_v1.0\Tools\fileE_C.py
--------------------------------------------------------------------------------------------------'''
import os

'''-------------------------------------------------------------------------------------------
 * @description: 判断文件夹是否存在，若不存在则创建它
 * @param {*} 文件夹地址
 * @return {*}
---------------------------------------------------------------------------------------------'''
def fileE_C(dir:str)->None:
    if not os.path.exists(dir):
            os.makedirs(dir)